DeliciousBrains\WP_Offload_Media\Settings\Domain_Check S

Total Complexity 36
Dependencies 14
Dependents 1
Total lines 318
Lines of code 156
Logical lines of code 63
Comment lines 118
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
validate()
S
52 5 28
check_dns_resolution()
S
60 4 14
is_valid()
S
61 3 13
check_response_body()
S
61 3 13
dispatch_request()
S
57 2 16
prepare_url()
S
64 3 10
check_response_code()
S
65 3 10
check_response_type()
S
64 3 10
check_response_headers()
S
67 3 7
get_validation_issue()
S
67 2 9
get_exception_for_wp_error()
S
64 2 10
__construct()
S
81 1 3
domain()
S
82 1 3
test_rest_endpoint()
S
64 1 10